package com.ruoyi.departmentSys.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 部门信息对象 tb_department
 * 
 * @author ruoyi
 * @date 2025-11-05
 */
public class TbDepartment extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 部门名称 */
    @Excel(name = "部门名称")
    private String departmentName;

    /** 部门职能 */
    @Excel(name = "部门职能")
    private String deptFunction;

    /** 部门负责人 */
    @Excel(name = "部门负责人")
    private String leader;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getDepartmentName() {
        return departmentName;
    }

    public void setDepartmentName(String departmentName) {
        this.departmentName = departmentName;
    }

    public String getDeptFunction() {
        return deptFunction;
    }

    public void setDeptFunction(String deptFunction) {
        this.deptFunction = deptFunction;
    }

    public String getLeader() {
        return leader;
    }

    public void setLeader(String leader) {
        this.leader = leader;
    }

    @Override
    public String toString() {
        return "TbDepartment{" +
                "id=" + id +
                ", departmentName='" + departmentName + '\'' +
                ", deptFunction='" + deptFunction + '\'' +
                ", leader='" + leader + '\'' +
                '}';
    }
}
